package com.ruixun.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruixun.common.BaseEntity;
import lombok.Data;

/**
 * 角色权限关联实体类 - 对应sys_role_permission表
 * @author ruixun
 */
@TableName(value = "sys_role_permission")
@Data
public class SysRolePermission extends BaseEntity {

    /**
     * 角色ID
     */
    @TableField(value = "role_id")
    private String roleId;

    /**
     * 权限ID
     */
    @TableField(value = "permission_id")
    private Long permissionId;

}